package com.rtline.business.mapper;

import java.util.List;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rtline.business.model.OrderEntity;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>UserMapper .
 *
 * <p>change history:
 *
 * <pre>
 * date         defect       person          comments
 * --------------------------------------------------------------------------------
 * 2025/5/17    ********     Tao Ren    create file.
 * </pre>
 *
 * @author Tao Ren
 * @date 2025/5/17 21:10
 */
@Mapper
public interface OrderMapper extends BaseMapper<OrderEntity> {

    @DS("slave")
    @Select(" select * from `order`")
    List<OrderEntity> selectAll();
}
